package com.kai.steering.data.service.service;

import com.kai.steering.common.vo.Page;
import com.kai.steering.common.web.service.BaseService;
import com.kai.steering.data.service.entity.domainObject.NoteDO;
import com.kai.steering.data.service.entity.domainObject.PermissionDO;
import com.kai.steering.data.service.entity.dto.NoteQueryDTO;
import com.kai.steering.data.service.entity.po.Note;
import com.kai.steering.data.service.entity.po.Permission;
import com.kai.steering.data.service.entity.vo.NoteVO;

import java.io.Serializable;
import java.util.List;

/**
 * <pre>
 * 权限 服务类
 * </pre>
 *
 * @author kai
 * @since 2022-02-23
 */
public interface PermissionService extends BaseService<Permission> {
    PermissionDO getPermissionById(String id);

    List<PermissionDO> getPermissonByRole(String roleId);

}

